package com.ynet.middleground.approve.constant;

/**
 * @author liulx
 * @description 任务状态, 备用保留
 * @date 2019-10-25 11:47
 */
public enum TaskStatusEnum {

    /**
     * 0: 待审批, 1: 审批通过, 2: 审批驳回, 3: 撤销, 4: 待拾取
     */
    TODO(0, "待审批"), DONE(1, "审批通过"), REJECT(2, "审批驳回"), CANCLE(3, "撤销"), CLIAM(4, "待拾取");

    private int value;
    private String desc;

    TaskStatusEnum(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }

}
